package com.example.designpattenexample.factorymethod.example;

public class AppleFactory implements FruitFactory {
    @Override
    public Fruit factory() {
        return new Apple();
    }
}
